﻿<form id="muser-updatepwd" class="form-edit" method="post">
    <div class="form-title panel-body">修改密码</div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input class="easyui-textbox" disabled="disabled" data-options="prompt:'请输入用户账号'" value="@SessionFactory.UserName" />
            <span class="form-info">当前登录用户的账号。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input type="password" name="oldpwd" class="easyui-textbox" data-options="required:true,prompt:'请输入现有密码',validType:'minLength[6]'" />
            <span class="form-info">现有密码如果输入错误将无法修改密码。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input id="new-pwd" type="password" class="easyui-textbox" data-options="required:true,prompt:'请输入新的密码',validType:'minLength[6]'" />
            <span class="form-info">输入的新密码长度至少6位。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input type="password" name="newpwd" class="easyui-textbox" data-options="required:true,prompt:'请再次输入新的密码',validType:'equals[\'#new-pwd\']'" />
            <span class="form-info">请确认两次输入的新密码相同。</span>
        </div>
    </div>
    <input name="id" type="hidden" value="@SessionFactory.UserID" />
</form>